//
//  AdCollectionViewCell.m
//  ZCStudyDemo
//
//  Created by XFB on 2018/9/12.
//  Copyright © 2018年 ZhouCheng. All rights reserved.
//

#import "AdCollectionViewCell.h"

@interface AdCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *avatarView;
@property (weak, nonatomic) IBOutlet UILabel *nameView;
@property (weak, nonatomic) IBOutlet UILabel *timeView;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation AdCollectionViewCell

- (void)setReplyDict:(NSDictionary *)replyDict
{
    _replyDict = replyDict;
    
    self.avatarView.image = [UIImage imageNamed:replyDict[@"avatar"]];
    self.nameView.text = replyDict[@"name"];
    self.timeView.text = replyDict[@"time"];
    self.contentLabel.text = replyDict[@"content"];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
